<template>
  <div class="demo">
    <h2 class="qwe">学校名称：{{ name }}</h2>
    <h2>学校地址：{{ address }}</h2>
  </div>
</template>

<script>
export default {
  name: "SchoolInfo",
  data() {
    return {
      name: "中国石油大学（华东）",
      address: "青岛",
    };
  },
};
</script>
<style scoped lang="less">
.demo {
  background-color: skyblue;
  .qwe {
    color: red;
  }
}
</style>